package models

// vip组累计数据 
type DsVipCumulativeData struct {
	Vipid *uint64 `gorm:"column:vipid;primarykey"` // vipid
	OrderAmount *float64 `gorm:"column:order_amount"` // 订单金额
	ElectricityFees *float64 `gorm:"column:electricity_fees"` // 电费
	ServiceFees *float64 `gorm:"column:service_fees"` // 服务费
	DEFees *float64 `gorm:"column:d_e_fees"` // 优惠电费
	DSFees *float64 `gorm:"column:d_s_fees"` // 优惠服务费
	OrderCnt *int32 `gorm:"column:order_cnt"` // 订单量
	Dl *float64 `gorm:"column:dl"` // 充电量
	CreatedTime *jsontime.JsonTime `gorm:"column:created_time"` 
	UpdatedTime *jsontime.JsonTime `gorm:"column:updated_time"` // 更新时间
}
func (entity *DsVipCumulativeData) TableName() string {
	return "ds_vip_cumulative_data"
}